<template>
   <router-link to="/"></router-link>
   <router-link to="/login"></router-link>
   <router-link to="/register"></router-link>

  <router-view></router-view>
 </template>
 
  <script setup>
        import {ref} from 'vue'
        import store from './stores/GlobalStore';
    const tokenShow=ref("");
   let token=window.localStorage.getItem("user-token");
    if(token!=null){
        tokenShow.value=token;
        store().token=token;
 
    }
 </script>
 
 <style>
  </style>
 